#!/bin/bash
# Zaitan Module - VDrift Install
# Zaitan Team <http://code.google.com/p/zaitan/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='IM'
RMOD_NAME='VDrift'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='2'
RMOD_DESCRIPTION='Installs VDrift'
RMOD_UPDATE_URL='http://code.google.com/p/zaitan/'

# install VDrift

echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall


apt-get update
apt-get install libalut0
apt-get install libsdl-net1.2
cd /usr/share/zaitan

wget -c http://ufpr.dl.sourceforge.net/sourceforge/vdrift/VDrift-2007-03-23-full-2.package
chmod +x VDrift-2007-03-23-full-2.package
./VDrift-2007-03-23-full-2.package



echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0
